#include "stlmesh.h"
STLMesh::STLMesh() { }

STLMesh::~STLMesh() {
  // delete all of the facets
  for (int i = 0; i < facets_.size(); i++) {
    delete facets_.at(i);
  }
}

void STLMesh::addFacet(STLFacet& facet) {
  facets_.append(new STLFacet(facet));
}

const QList<STLFacet*>& STLMesh::GetFacets() const {
  return facets_;
}
